class TimeScale{
  String title;
  int index;

  TimeScale(
      {this.title, this.index});

  TimeScale.fromJson(Map<String, dynamic> json) {
    title = json['title'];
    index = json['index'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['index'] = this.index;
    return data;
  }
}